#!/bin/bash


TOOLS_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

REPO_PATH=$TOOLS_PATH/..

SESSION=$USER-edublocks

tmux -2 new-session -d -s $SESSION

tmux split-window -h

tmux select-pane -t 0
tmux send-keys "python3 /home/pi/.edublocks/output.py" C-m


tmux -2 attach-session -t $SESSION
